.Net Framework > v1.1.4322 > System > ServiceProcess > ServiceController > WaitForStatus WaitForStatus(ServiceControllerStatus)
WaitForStatus(ServiceControllerStatus,TimeSpan)


WaitForStatus(ServiceControllerStatus)

Category
Method
Description
Infinitely waits for the service to reach the specified status.
Type
void
Character
public
Parameters
NameTypeDescription
desiredStatusServiceControllerStatus
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

WaitForStatus(ServiceControllerStatus,TimeSpan)

Category
Method
Description
Waits for the service to reach the specified status or for the specified time-out to expire.
Type
void
Character
public
Parameters
NameTypeDescription
desiredStatusServiceControllerStatus
timeoutTimeSpan
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database